<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<META HTTP-EQUIV="content-type" CONTENT="text/html; charset=GB2312">
<title>��ǩӦ����ʾ����</title>
<link href="css/markstyle.css" rel="stylesheet" type="text/css" />
<SCRIPT ID=clientEventHandlersJS LANGUAGE=javascript>
<!--

function WebOffice1_NotifyCtrlReady() { 
	//AIP��ʼ������¼�
	document.all.WebOffice1.LoadOriginalFile("http://www.dianju.cn/weboffice-demo/template01.doc","doc");
	//document.all.WebOffice1.LoadOriginalFile("c:\\template01.doc","doc");
	updatedata_onclick();
}
function title_onpropertychange(){
	 document.all.WebOffice1.SetFieldValue("title", document.all.title.value, ""); 
}
function id_onpropertychange(){
	 document.all.WebOffice1.SetFieldValue("id", document.all.id.value, ""); 
}
function year_onpropertychange()
{
	document.all.WebOffice1.SetFieldValue("year", document.all.year.value, ""); 
}
function titleword_onpropertychange()
{
	document.all.WebOffice1.SetFieldValue("titleword", document.all.titleword.value, ""); 
}
function makecopy_onpropertychange()
{
	document.all.WebOffice1.SetFieldValue("makecopy", document.all.makecopy.value, ""); 
}
function company_onpropertychange()
{
	document.all.WebOffice1.SetFieldValue("company", document.all.company.value, ""); 
}
function datetime_onpropertychange()
{
	document.all.WebOffice1.SetFieldValue("datetime", document.all.datetime.value, ""); 
}
function updatedata_onclick()
{
  document.all.WebOffice1.SetFieldValue("title", document.all.title.value, ""); 
  document.all.WebOffice1.SetFieldValue("id", document.all.id.value, ""); 
  document.all.WebOffice1.SetFieldValue("year", document.all.year.value, ""); 
  document.all.WebOffice1.SetFieldValue("titleword", document.all.titleword.value, ""); 
  document.all.WebOffice1.SetFieldValue("makecopy", document.all.makecopy.value, ""); 
  document.all.WebOffice1.SetFieldValue("company", document.all.company.value, ""); 
  document.all.WebOffice1.SetFieldValue("datetime", document.all.datetime.value, ""); 
}

function taohong_onclick()
{
	document.all.WebOffice1.SetFieldValue("contents","http://www.dianju.cn/weboffice-demo/doc01.doc","::FILE::");
}
function checkallbookmark_onclick()
{
  
  var vBKCount;
	vBKCount = document.all.WebOffice1.GetBookMarkCount();
	var iIndex; 
	var vName;
	var vValue;
	var vShowInfo;
	vShowInfo = ""; 
	for(iIndex = 1; iIndex <= vBKCount; iIndex++){
		vName = document.all.WebOffice1.GetBookMarkInfo(iIndex,0 ); 
		vValue = document.all.WebOffice1.GetBookMarkInfo(iIndex,1 );
		vShowInfo += "BK"+iIndex+":"+vName+"="+vValue+"<br>";
		vName = "";
		vValue = ""; 
	}
	document.all.spnWorkingMsg.innerHTML = vShowInfo;
}
function fontcolor_onclick(){
	var vObj= document.all.WebOffice1.GetDocumentObject();
vObj.Bookmarks("title").Range.Font.Color =255;
}
function delline_onclick(){
	var vObj= document.all.WebOffice1.GetDocumentObject();
vObj.Bookmarks("title").Range.Font.StrikeThrough =9999998;
}
function ita_onclick(){
	var vObj= document.all.WebOffice1.GetDocumentObject();
	
vObj.Bookmarks("title").Range.Font.Italic =9999998;
}
// -------------------------=== ������ǩ ===------------------------------ //
function addBookmark() {
	document.all.WebOffice1.SetFieldValue("mark_1", "������Ϣ�������޹�˾", "::ADDMARK::");			
}
// -------------------------=== ������ǩ����ͼƬ ===------------------------------ //
function addImage() {
	document.all.WebOffice1.SetFieldValue("mark_1", "", "::ADDMARK::");			// �����ǩ
	document.all.WebOffice1.SetFieldValue("mark_1", "c:\\image\\logo.gif", "::JPG::");
}
//-->
</SCRIPT>

<SCRIPT LANGUAGE=javascript FOR=WebOffice1 EVENT=NotifyCtrlReady>
<!--
 WebOffice1_NotifyCtrlReady()
//-->
</SCRIPT>


<style type="text/css">
BODY {
	scrollbar-face-color: #DEE3E7;
	scrollbar-highlight-color: #FFFFFF;
	scrollbar-shadow-color: #DEE3E7;
	scrollbar-3dlight-color: #D1D7DC;
	scrollbar-arrow-color: #006699;
	scrollbar-track-color: #EFEFEF;
	scrollbar-darkshadow-color: #98AAB1;
}

td {
	border-top: solid #CCCCCC;
	border-top-width: 1px
}

.leftBorder {
	border-left-style: solid;
	border-left-width: 1px;
	border-left-color: #CCCCCC;
}

.downSide {
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-bottom-style: dashed;
	border-bottom-color: #0066FF;
}
</style>
</head>
<body>
	<div id="page">
		<div id="header"></div>
		<div class="content">
			<h1 align="center">&nbsp;&nbsp;&nbsp;��ǩӦ����ʾ����</h1>
			<span
				style='mso-ignore: vglayout; position: relative; z-index: 1; left: -3px; top: 7px; width: 538px; height: 28px'><img
				width=836 height=7 src="image/image001.gif" v:shapes="_x0000_s1032"></span>
			<table width="100%" border="0" cellpadding=1 cellspacing=1
				bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="MsoNormalTable"
				name="">
				<tr>
					<td nowrap colspan="3" bgcolor="#e5ecf9">������ǩʹ�?������Word����
					</td>
				</tr>
				<tr>
					<td width="23%" nowrap class="leftBorder">���ĵ�λ��</td>
					<td width="39%" nowrap class="leftBorder"><input name="title"
						id="title" onpropertychange="return title_onpropertychange()"
						value="����Ҧ��ͬ־����ְ֪ͨ" language=javascript></td>
					<td width="38%" rowspan="8" valign="top" nowrap class="leftBorder">
						<SPAN ID=spnWorkingMsg align="right"></SPAN> ��ʾ����
					</td>
				</tr>
				<tr>
					<td nowrap class="leftBorder">�ļ���ţ�</td>
					<td nowrap class="leftBorder"><input name="id" id="id"
						onpropertychange="return id_onpropertychange()" value="01"
						language=javascript></td>
				</tr>
				<tr>
					<td nowrap class="leftBorder">�꣺</td>
					<td nowrap class="leftBorder"><input name="year" id="year"
						onpropertychange="return year_onpropertychange()" value="2008"
						language=javascript></td>
				</tr>
				<tr>
					<td nowrap class="leftBorder">����ʣ�</td>
					<td nowrap class="leftBorder"><input name="titleword"
						id="titleword"
						onpropertychange="return titleword_onpropertychange()"
						value="20080210" language=javascript></td>
				</tr>
				<tr>
					<td nowrap class="leftBorder">���ͣ�</td>
					<td nowrap class="leftBorder"><input name="makecopy"
						id="makecopy"
						onpropertychange="return makecopy_onpropertychange()"
						value="�����к�����־�" language=javascript></td>
				</tr>
				<tr>
					<td nowrap class="leftBorder">��λ��ƣ�</td>
					<td nowrap class="leftBorder"><input name="company"
						id="company" onpropertychange="return company_onpropertychange()"
						value="�й��˰�ַֹܾ�˾�ܾ���칫��" language=javascript></td>
				</tr>
				<tr>
					<td nowrap class="leftBorder">ǩ�����ڣ�</td>
					<td nowrap class="leftBorder"><input name="datetime"
						id="datetime"
						onpropertychange="return datetime_onpropertychange()"
						value="2008��08��27��ӡ��" language=javascript></td>
				</tr>
				<tr>
					<td nowrap class="leftBorder">��ͷģ��·����</td>
					<td nowrap class="leftBorder"><input name="taohong"
						id="taohong" style="overflow-x: visible; width: 60px"
						value="http://www.dianju.cn/weboffice-demo/template01.doc"></td>
				</tr>
				<tr>
					<td nowrap class="leftBorder">����·��</td>
					<td nowrap class="leftBorder"><input name="contents"
						id="contents" style="overflow-x: visible; width: 60px"
						value="http://www.dianju.cn/weboffice-demo/doc01.doc"
						maxlength="80"> <input name="taohong2" type=button
						id="taohong2" value=�׺� language=javascript
						onClick="return taohong_onclick()"></td>
					<td nowrap class="leftBorder"><input name="checkallbookmark"
						type=button id="checkallbookmark" value=�����ĵ���������ǩ
						language=javascript onClick="return checkallbookmark_onclick()">
						<input name="updatedata" type=button id="updatedata"
						value=���������ֶ� language=javascript
						onClick="return updatedata_onclick()"></td>
				</tr>
				<tr>
					<td colspan="3" nowrap bgcolor="#e5ecf9" class="leftBorder">��ǩ���ò������˴������ǩ�������ļ������������أ�
					</td>
				</tr>
				<tr>
					<td colspan="3" nowrap class="leftBorder"><input
						name="button8" type="button" onclick="return addBookmark()"
						value="�����ǩ" /> <input name="button92" type="button"
						onclick="return addImage()" value="����ͼƬ" /> <input
						type="button" id="fontcolor" name="fontcolor" value="����������ɫ"
						onClick="return fontcolor_onclick()"> <input type="button"
						id="ita" name="ita" value="����б��" onClick="return ita_onclick()">
						<input type="button" id="delline" name="delline" value="����ɾ����"
						onClick="return delline_onclick()"></td>
				</tr>
				<tr>
					<td colspan="3" nowrap bgcolor="#e5ecf9" class="leftBorder"></td>
				</tr>

				<tr>
					<td colspan="3"><script src="js/LoadWebOffice.js"></script></td>
				</tr>
			</table>
		</div>
		<!-- content -->
	</div>
</body>
</html>